<?php
$strTableName="tbl_hoat_dong_khcn";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="tbl_hoat_dong_khcn";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT tbl_hoat_dong_khcn.id,  tbl_hoat_dong_khcn.ten_hoat_dong,  tbl_hoat_dong_khcn.hinh_anh,  tbl_hoat_dong_khcn.mo_ta_ngan_gon,  tbl_hoat_dong_khcn.mo_ta_chi_tiet,  tbl_hoat_dong_khcn.ma_danh_muc_hoat_dong,  tbl_danh_muc_hoat_dong_khcn.ten_danh_muc_hoat_dong";
$gsqlFrom="FROM tbl_hoat_dong_khcn  INNER JOIN tbl_danh_muc_hoat_dong_khcn ON tbl_danh_muc_hoat_dong_khcn.id = tbl_hoat_dong_khcn.ma_danh_muc_hoat_dong";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/tbl_hoat_dong_khcn_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_tbl_hoat_dong_khcn;
$eventObj = &$tableEvents["tbl_hoat_dong_khcn"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>